import request from '@/utils/request'

/**
 * 获取视频列表
 * @param {*} data
 * @returns
 */
export const getVideoListAPI = (data) => {
  return request.get('/video/getVideoList', { params: data })
}

/**
 * 获取视频
 * @param {*} id
 * @returns
 */
export const getVideoAPI = (id) => {
  return request.get('/video/getVideo', { params: { id } })
}
